--垂髫苦绪
local chuifakuxu = fk.CreateSkill {
    name = "mcdh_chuifakuxu",
}

local U = require "packages/utility/utility"
local lib = require "packages/mcdh/lib"

chuifakuxu:addEffect('active',{
    card_num = 0,
    target_num = 0,
    can_use = function(self, player)
        return player:usedSkillTimes(self.name,Player.HistoryPhase) == 0
    end,
    on_use = function(self, room, effect)
        local player = effect.from
        local num = player.hp
        room:loseHp(player,num, self.name)
        player:drawCards(num,self.name)
    end
})

Fk:loadTranslationTable {
    ["mcdh_chuifakuxu"] = "垂髫苦绪",
    [":mcdh_chuifakuxu"] = "出牌阶段限一次，你可以失去所有体力并摸等量张牌。",
}

return chuifakuxu